﻿<Page
    x:Class="WellDone.OpenItemDialog"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:WellDone"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d">

    <Grid
        x:Name="RootPanel"
        Background="#FF98DEF8"
        Opacity=".75"
        HorizontalAlignment="Stretch"
        VerticalAlignment="Stretch">

        <Grid x:Name="LayoutRoot" Background="{ThemeResource ApplicationPageBackgroundThemeBrush}" Width="430" Height="500" >
            <Grid.RowDefinitions>
                <RowDefinition />
                <RowDefinition Height="Auto" />
            </Grid.RowDefinitions>
            <CheckBox x:Name="cbSendToKitchen" Margin="20,10" VerticalAlignment="Top" Content="Send to Kitchen" FontSize="20" Padding="5,0,0,0" IsChecked="True" >
                <CheckBox.RenderTransform>
                    <ScaleTransform ScaleX="1.5" ScaleY="1.5" />
                </CheckBox.RenderTransform>
            </CheckBox>
            <TextBlock HorizontalAlignment="Left" Margin="20,60" FontSize="30" TextWrapping="Wrap" Text="Item Name" VerticalAlignment="Top"/>
            <TextBox x:Name="tbItemName" HorizontalAlignment="Left" Margin="20,100,0,0" Height="55" FontSize="30" TextWrapping="Wrap" Text="" VerticalAlignment="Top" Width="386" SelectionHighlightColor="#FF98DEF8"/>
            <TextBlock HorizontalAlignment="Left" Margin="20,160,0,0" Grid.Row="0" FontSize="30" TextWrapping="Wrap" Text="Description" VerticalAlignment="Top"/>
            <TextBox x:Name="tbDescription" HorizontalAlignment="Left" Margin="20,196,0,0" Height="122" FontSize="30" TextWrapping="Wrap" Text="" VerticalAlignment="Top" Width="386" SelectionHighlightColor="#FF98DEF8" BorderThickness="2,2,2,2" MaxLength="250"/>
            <TextBlock HorizontalAlignment="Left" Margin="20,349,0,0" Grid.Row="0" FontSize="30" TextWrapping="Wrap" Text="Price" VerticalAlignment="Top"/>
            <TextBox x:Name="tbPrice" HorizontalAlignment="Left" Margin="105,340,0,0" Height="55" FontSize="30" TextWrapping="Wrap" Text="" VerticalAlignment="Top" Width="113" SelectionHighlightColor="#FF98DEF8" InputScope="Number"/>
            <Button x:Name="btnOK" Content="OK" Width="120" Height="85" FontSize="28" Margin="30,10" HorizontalAlignment="Left" Grid.Row="1" Click="btnOK_Click" />
            <Button x:Name="btnCancel" Content="Cancel" Width="120" Height="85" Margin="30,10" FontSize="28" HorizontalAlignment="Right" Grid.Row="1" Click="btnCancel_Click" />
        </Grid>
    </Grid>
</Page>
